import SvgIcon from './SvgIcon/index.vue'
import Editor from './Editor/index.vue'

// 全局对象
const allGlobalComponent = { SvgIcon, Editor }

export default {
  install(app) {
    Object.keys(allGlobalComponent).forEach((key) => {
      app.component(key, allGlobalComponent[key])
    })
  },
}
